package com.bw;

import com.bw.utils.idwork.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class QsApplication {

    public static void main(String[] args) {
        SpringApplication.run(QsApplication.class);
    }
    @Bean
    public IdWorker idWorker(){
        return new IdWorker(1,1,1);
    }

}
